﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Caliburn.Micro;

namespace Phone.Framework.CaliburnExtensions.Results
{
    public class ClearResult:IResult
    {
        public void Execute(ActionExecutionContext context)
        {
            var target = context.Target as IClear;
            target.ClearAll();
        }

        public event EventHandler<ResultCompletionEventArgs> Completed;
    }
}
